import java.util.Scanner;


public class Main {
    public static void main(String args[]) {
        Scanner scan = new Scanner(System.in);
        String str = scan.nextLine();
        if(str.length() > 100 && str == null) {
            return;
        }
        for(int i =0;i<str.length();i++) {
            if(!str.contains(String.valueOf(str.charAt(i)))) {
                str = str + str.charAt(i);
            }

        }
        System.out.println(str);
    }
}